package com.whfc.emp.param.openapi;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author sun_guodong
 * @description
 * @date 2020-06-23
 */
@Data
public class OpenApiEmpEnterParam implements Serializable {
    @NotNull
    private Integer empId;

    @NotNull
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;
}
